<?xml version="1.0" encoding="UTF-8"?>
<definitions id="taskAssigneeExample" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">
	
	<process id="mixedCandidateUserAndGroupExample" name="Write bi-monthly financial report" isExecutable="true">
	
		<startEvent id="theStart" />
		
		<sequenceFlow id="flow1" sourceRef="theStart" targetRef="theTask" />

		<userTask id="theTask" name="Write financial report" >
		  <documentation>
		    Write the bi-monthly financial report for the shareholders newsletter.
		  </documentation>
		  <potentialOwner>
		    <resourceAssignmentExpression>
		      <formalExpression>user(kermit), group(sales)</formalExpression>
		    </resourceAssignmentExpression>
		  </potentialOwner>
		</userTask>
		
		<sequenceFlow id="flow2" sourceRef="theTask" targetRef="theEnd" />
		
		<endEvent id="theEnd" />
		
	</process>

</definitions>
